package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;

public class Audit implements Serializable {
    /**
     * 审核id
     */
    private Integer auditId;

    /**
     * 主体id
     */
    private Integer subjectId;

    /**
     * 审核类型
     */
    private Integer type;

    /**
     * 审核人id
     */
    private Integer userInfoId;

    /**
     * 审核人
     */
    private String auditor;

    /**
     * 审核状态
     */
    private Integer auditStatus;

    /**
     * 状态0可用 1不可用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getAuditId() {
        return auditId;
    }

    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Integer userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor == null ? null : auditor.trim();
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", auditId=").append(auditId);
        sb.append(", subjectId=").append(subjectId);
        sb.append(", type=").append(type);
        sb.append(", userInfoId=").append(userInfoId);
        sb.append(", auditor=").append(auditor);
        sb.append(", auditStatus=").append(auditStatus);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}